home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / try_qb / sinewave.bas (.txt) < prev    next >
QuickBASIC Tokenized Source  |  1989-12-04  |  1KB  |  16 lines

  1. Style
  2. Cycles
  3.  View port sized to proper scale for graph:
  4.  Make window large enough to graph sine wave from
  5.  0 radians to 2
  6.  radians: 
  7.  Use to make dashed line.h
  8.  Scroll printed output in
  9.  rows 23 and 24.
  10. Number of cycles (0 to end): "
  11.  Draw the x (horizontal) axis.
  12.  Start at (0,0) and plot the graph: 
  13.  Calculate the y coordinate.
  14.  Draw a line from the last
  15.  point to the new point.
  16.